<?php
 class Point{
    public function __construct(public float $x=0.0,public  float $y=0.0,public float $z=0.0){

    }
 }
 $p=new Point(1,2,3);
 echo $p->x,   $p->y,$p->z;